package com.cy.pj.sys.service.impl;

import com.cy.pj.sys.pojo.SysLog;
import com.cy.pj.sys.service.SysLogService;

import java.util.List;

public class SysLogServicePlus implements SysLogService {
    private SysLogService sysLogService;

    public SysLogServicePlus(SysLogService sysLogService) {
        this.sysLogService = sysLogService;
    }

    @Override
    public void saveLog(SysLog sysLog) {
        System.out.println("执行前");
        sysLogService.saveLog(sysLog);
        System.out.println("执行后");
    }

    @Override
    public int deleteById(Long... ids) {
        return 0;
    }

    @Override
    public SysLog findById(Long id) {
        return null;
    }

    @Override
    public List<SysLog> findLogs(SysLog sysLog) {
        return null;
    }
}
